﻿using System;

namespace Model
{
    public class WorkOrder: BaseModel
    {
       
        public const string CONST_WORK_ORDER_ID = "WorkorderId";
        
        public virtual int WorkorderId { get; set; }
        public virtual int EmployeeId { get; set; }
        public virtual int RequestMadeById { get; set; }
        public virtual int CriteriaId { get; set; }
        public virtual int StatusId { get; set; }
        public virtual int RequesterId { get; set; }
        public virtual DateTime RequestTime { get; set; }
        public virtual DateTime RequestDate { get; set; }
        public virtual DateTime AgreedDate { get; set; }
        public virtual bool Authorized { get; set; }
        public virtual string Description { get; set; }
        public virtual string CancelReason { get; set; }
        public virtual Employee Employee { get; set; }
        
        public override int Key
        {
            get { return WorkorderId; }
        }
        
    }
}
